package net.csdra.libraryborrowing.service.user;

import net.csdra.libraryborrowing.domain.user.TransferBorrowInfo;
import net.csdra.libraryborrowing.domain.user.TransferBorrowInfoRepository;
import net.csdra.libraryborrowing.domain.user.UserBorrow;
import org.springframework.beans.factory.annotation.Autowired;

/**
 * Created by add on 2017/10/17.
 */
public class TransferBorrowInfoComponentlmpl implements TransferBorrowInfoComponent {
    @Autowired
    TransferBorrowInfoRepository transferBorrowInfoRepository;

    @Override
    public TransferBorrowInfo getTransferBorrowInfo(String transferBorrowInfoId) {
        return this.transferBorrowInfoRepository.findOne(transferBorrowInfoId);
    }

}
